package org.springsocial.services;

import java.util.Date;
import java.util.List;

import org.springsocial.domain.ExtendedTweet;

public interface TweetService {
	ExtendedTweet saveTweet(ExtendedTweet tweet);
	ExtendedTweet getTweetById(Long id);
	List<ExtendedTweet> getTweetsFromToDate(Date from, Date to);
	List<ExtendedTweet> getTweetsFromLastMonths(int numberOfMonths);
	List<ExtendedTweet> getTweetsFromLastDays(int numberOfDays);
}
